<template>
	<view class="page">
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataForm: [

				]

			}
		},
		mounted() {
			this.getWholeCar()
		},
		methods: {
			orderWrite() {
				uni.navigateTo({
					url: "/pagesIndex/Taxi/orderWrite"
				})
			},
			getWholeCar() {
				this.$api.get('/travel/travel/rentalcarylbmcar/whole').then(res => {
					if (res.data.code == 0) {
						this.dataForm = res.data.data
					}
					console.log(res, 'res');
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.page {
		height: 100vh;
		background: #F5F8FA;
		position: relative;
	}

	.list {
		display: flex;
		flex-direction: column;
		padding: 20rpx;

		.card {
			background: #fff;
			border-radius: 16rpx;
			margin-bottom: 20rpx;
			padding: 16rpx;
			display: flex;
			flex-direction: row;

			.left {
				width: 44%;
				color: #797979;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				margin-left: 22rpx;
				padding: 10rpx 0;

				.carNum {
					font-weight: 700;
					font-size: 34rpx;

					color: black;
				}

				.driverInfo {
					display: flex;
					width: 100%;
					flex-direction: row;
					justify-content: space-between;
				}

				.price {
					flex-direction: row;
					display: flex;
					justify-content: flex-start;
					align-items: center;

					.money {
						color: red;
						font-size: 30rpx;
					}
				}
			}

			.right {
				margin: 30rpx 0 0 72rpx;

				.status {
					padding: 9rpx 15rpx;
					color: #33AFFC;
					border: 1rpx solid #33AFFC;
					border-radius: 27rpx;
				}
			}

		}
	}

	.bottom {
		background: #fff;
		position: absolute;
		height: 10%;
		display: flex;
		width: 100%;
		bottom: 0;

		.btn {
			background: #33AFFC;
			width: 70%;
			height: 80rpx;
			border-radius: 36rpx;
			color: #fff;
			line-height: 80rpx;
			text-align: center;
			margin: auto;

		}
	}
</style>